
*{
  font-family: Avenir, sans-serif;
  font-size: 1em;
  text-align: center;
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}
/****************************/
body{
	margin:0px;
	min-height: 100%;
	height: 100%;
	
}
.backvideodiv{
	 
width: 100%;	 
height: 200px;	 
overflow: hidden;	 
position: relative;
}
.videoclip{
    
/* height:100%; */
    
width: 100%;    
position: absolute;
top:-40px;     
left: 0px;    
bottom: 0px;    
right: 0px;    
background-color:grey;    
z-index:-1;    
max-width:100%;  

}
.carre{
  position: absolute;
  width: 30%;
  height: 80%;
  top: 10px;
  left: 20px;
  bottom: 20px;
  right: 0px; 
 
  

}
.monimage{	
	/*width: 100%;*/
	height:100%;
    /*du conteneur parent*/
	border-radius:50%;
	border: 2px solid black;
	/*box-sizing:border-box;*/
	
}
.backvideodiv:after{
	position:absolute;
	width:100%;
	height:100%;
	top:0px;
	left:0;
	background-color:rgba(180,180,180,0);
	z-index:1;
	content:"";
	
}
/********************************/


h1{
    font-size: 1.5em;
    margin: 10px auto;
    text-align: center;
    text-transform: uppercase;
	/*background-color: lightblue;*/

    /*! padding-top: 220px; */
}
/*Premier header sous body*/
body > header{
	position: sticky;
	top: 0px;
	
}
body > header > nav{
	width:100%;
	/*height:100px;*/
	margin: 0 auto;
}
.conteneur-nav{
	position: absolute;
	
	width:100%;
	
}
body > header > nav input[type=checkbox]{
	display:none;
}
body > header > nav label{
	display:inline-block;
	width: 100%;
	padding: 10px 0px;
	text-align:center;
	background-color: rgba(220,220,220,1);
    /*si 0.5, menu stcky transparent*/	
	/*gris clair*/
}
body > header > nav ul{
	display:none;
	list-style-type:none;
	background-color: #555;
	/*gris foncé*/
}
/*style pour les ul sous nav, si input checked*/
body > header > nav input[type=checkbox]:checked +ul{
	display:flex;
	flex-flow:column wrap;
}
body > header > nav ul li{
	flex:1 1 auto;
	text-align: center;
}
body > header > nav > div > ul > li > a{
	color:white;
	/*liens du menu en blanc*/
}
body > header > nav a{
	display: block;
	text-decoration: none;
	/*pas de souligné*/
	color:black;
	padding:10px 0px;
}
.sous{
	display:flex;
	flex-flow:column wrap;
	z-index:1000;
}
.sous li{
	flex:1 1 auto;
	text-align:left;
}
.sous a{
	padding:10px;
	background-color:rgba(200,200,200,0.8);
}

/*section*/
.conteneur{
	display:flex;
	flex-flow:column wrap;
	margin-top:48px; /*sinon passe derrière label*/

	
}

/*bleu ciel*/
.g1,.g4{background-color:rgba(120,205,225,0.4);
        
}
/*rose clair*/
.g2,.g5{background-color:rgba(225,100,175,0.4);}
.g1,.g2,.g4,.g5{
	min-height:100px; 
	text-align:left; 
	padding:10px;
	
	}


/*design du g3*/

.sousconteneur{
	display: flex;
	flex-flow: column wrap;
	text-align: center;
	background-color;rgba(225,215,120,0.4);
}
.sousconteneur h1{
	font-size:1.2em;
	margin:10px 0px 0px 0px;
}
/*mettre éléments du menu en ligne/col, pas de souligné*/
.sousconteneur nav ul{
	display:flex;
	flex-flow: column wrap;
	list-style-type:none;
	justify-content:space-around;
	align-items: flex-start;
	margin-left:30px;
	
}


/*couleur des liens cliqués*/
.sousconteneur nav a{
	display:block;
	color:#333;
}
.sousconteneur article{
	margin:10px;
	
}
.sousconteneur footer{
	margin-bottom:10px;
}

/*footer*/
body > footer{
	width:100%;
	height:100px;
	background-color:#555;
	color:white; /*blanc sur gris*/
	text-align:center;
	padding:20px;
}

.gras{
	font-weight:bolder;
	
}
.alignleft{
	text-align:left;
}

/*verion non mobile (bureau)*/
@media screen and (min-width: 980px){
	
.videoclip{
 
	width: 100%;		
	position: absolute;
	top:-140px; 		
	left: 0px;		
	bottom: 0px;		
	right: 0px;		
	background-color:grey;		
	z-index:-1;		
	max-width:100%;    

}	

.carre{
  position: absolute;
  width: 30%;
  height: 80%;
  top: 10px;
  left: -80px;
  bottom: 20px;
  right: 0px; 
 
  

}
	
   .conteneur-nav{
        position: static;
	
	
    }
    body > header > nav label, nav input{
        display: none; /*cacher le label*/
    }
    body > header > nav input[type=checkbox]:checked + ul, body > header > nav ul{
        display: flex;
        flex-flow: row wrap;
        background-color: RGBa(220,220,220,0.5);
    }
    body > header > nav ul li{
        position: relative;
    }
    body > header > nav > div > ul > li > a{
        color: black;
		
    }
    body > header > nav a{
        border-bottom: 2px solid transparent;
		
    }
    body > header > nav a:hover{
        color: orange;
        border-bottom: 2px solid gold;
    }
    .sous{
        display: none;
        box-shadow: 0px 1px 2px #CCC;
        background-color: white;
        position: absolute;
        width: 100%;
    }
    body > header > nav > div > ul li:hover .sous{
        display: flex;
        flex-flow: row wrap;
    }
    .sous a{
        border-bottom: none;
        background-color: white;
    }
    .sous a:hover{
        border-bottom: none;
        background-color: RGBa(200,200,200,0.1);
    }
    .deroulant > a::after{
        content:" ▼";
        font-size: 12px;
    }
    .conteneur{
        display: grid;
        grid-template-columns: 1fr 2fr 1fr;
		/*colonnes=0 posssible, s'adaptent au contenu*/
        grid-template-rows: repeat(2,minmax(300px, 1fr));
		margin-top:0px;
		
		
    }
    .g1{
        grid-column: 1 / 2;
		
		
		
    }
    .g2{
        grid-column: 1 / 2;
        grid-row: 2 / 3;
    }
    .g3{
        grid-column: 2 / 3;
        grid-row: 1 / 3;
		
    }
    .g4{
        grid-column : 3 / 4;
    }
    .g5{
        grid-column : 3 / 4;
        grid-row : 2 / 3;
    }

}










































